<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,initial-scale=1.0,width=device-width"/>
    <meta name="format-detection" content="telephone=no,email=no,date=no,address=no">
    <title>健身中心</title>
    		<link href="../css/mui.min.css" rel="stylesheet"/>
		<script src="../script/mui.min.js"></script>
    <link rel="stylesheet" href="../css/MyOrderDetailed.css">
    <script src="../script/jquery-1.12.4.min.js" type="text/javascript"></script>
    <script src="../script/JsUrl.js" type="text/javascript"></script>
    <script type="text/javascript" src="../script/MyOrderDetailed.js"></script>
    <script src="../script/utils.js"></script>
</head>
<body>
  <div id="max_box" style="padding-bottom:65px;" >

  </div>
</body>

<script type="text/javascript">
  var subscribeUserName;
  var subscribeUserEmail;
  var state;
  var flagePage;
	$(function() {
		state = utils.getParam("state");
		flagePage= utils.getParam("flagePage");
	
	    mui.init();
	    window.native.webGetUserinfo("userCallBlack");
	}); 
	
	function userCallBlack(user){
      json = JSON.parse(user);
      subscribeUserName  = json.user_name;
      subscribeUserEmail = json.user_email; 
      /*将获取的状态参数传递到JS方法中*/
      if(flagePage=="MyInvite"){
        selectSubscribeSonByEmailAndName(subscribeUserEmail,subscribeUserName,state);
      }else{
         getSubscribeByEmailAndName(subscribeUserEmail,subscribeUserName,state);
      }
     
	}

</script>

</html>
